package org.jeecg.jxc.supplierManagement.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.jxc.supplierManagement.entity.TSupplier;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @company:yaorange
 * @author:Mr.Gao
 * @version:1.0
 * @create:2022-06-21 16:47:30
 */
public interface TSupplierService {
    List<TSupplier> list();

    int addUser(TSupplier tSupplier);

    int updateUser(TSupplier tSupplier);

    IPage<TSupplier> page(Page<TSupplier> tSupplierPage,@Param("supplierName") String supplierName);

    IPage<TSupplier> pageList(Page<TSupplier> tSupplierPage);

    int delets(List<Integer> ids);

    int delet(Integer id);

}
